package com.yilin.tms.core.entity.system.param;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yilin.tms.core.commons.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 公共车辆类型
 */
@Entity
@Table(name = "param_comm_truck_type")
@TableName("param_comm_truck_type")
public class CommTruckType extends BaseEntity {
    /**
     * 基础信息
     */
    @Column(name = "parent_id")
    private String parentId; //父集ID
    @Column(name = "code")
    private String code;
    @Column(name = "name")
    private String name;
    @Column(name = "type_level")
    private Integer typeLevel;
    @Column(name = "truck_type_id")
    private String truckTypeId;
    @Column(name = "rob_match_rank")
    private Integer robMatchRank;//抢单匹配等级，大吃小

    //新：车高范围
    @Column(name = "truck_height_scope")
    private String truckHeightScope;
    //新：车长范围
    @Column(name = "truck_long_scope")
    private String truckLongScope;
    //新：车宽范围
    @Column(name = "truck_width_scope")
    private String truckWidthScope;
    //新：载方范围
    @Column(name = "load_volume_scope")
    private String loadVolumeScope;
    //新：载重范围
    @Column(name = "load_weight_scope")
    private String loadWeightScope;

    //车型图片
    @Column(name = "truck_img", columnDefinition = "TEXT")
    private String truckImg;
    //车型3D模型
    @Column(name = "truck3d_path", columnDefinition = "TEXT")
    private String truck3dPath;
    //车型备注
    @Column(name = "remark")
    private String remark;

    //是否挂车 不含牵引车
    @Column(name = "is_trailer")
    private TruckType.IsTrailer isTrailer;
    //普通车/牵引车/挂车类型
    @Column(name = "towing_type")
    private TruckType.TowingType towingType;


    public Integer getRobMatchRank() {
        return robMatchRank;
    }

    public void setRobMatchRank(Integer robMatchRank) {
        this.robMatchRank = robMatchRank;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getTypeLevel() {
        return typeLevel;
    }

    public void setTypeLevel(Integer typeLevel) {
        this.typeLevel = typeLevel;
    }

    public String getTruckTypeId() {
        return truckTypeId;
    }

    public void setTruckTypeId(String truckTypeId) {
        this.truckTypeId = truckTypeId;
    }

    public String getTruckHeightScope() {
        return truckHeightScope;
    }

    public void setTruckHeightScope(String truckHeightScope) {
        this.truckHeightScope = truckHeightScope;
    }

    public String getTruckLongScope() {
        return truckLongScope;
    }

    public void setTruckLongScope(String truckLongScope) {
        this.truckLongScope = truckLongScope;
    }

    public String getTruckWidthScope() {
        return truckWidthScope;
    }

    public void setTruckWidthScope(String truckWidthScope) {
        this.truckWidthScope = truckWidthScope;
    }

    public String getLoadVolumeScope() {
        return loadVolumeScope;
    }

    public void setLoadVolumeScope(String loadVolumeScope) {
        this.loadVolumeScope = loadVolumeScope;
    }

    public String getLoadWeightScope() {
        return loadWeightScope;
    }

    public void setLoadWeightScope(String loadWeightScope) {
        this.loadWeightScope = loadWeightScope;
    }

    public String getTruckImg() {
        return truckImg;
    }

    public void setTruckImg(String truckImg) {
        this.truckImg = truckImg;
    }

    public String getTruck3dPath() {
        return truck3dPath;
    }

    public void setTruck3dPath(String truck3dPath) {
        this.truck3dPath = truck3dPath;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public TruckType.IsTrailer getIsTrailer() {
        return isTrailer;
    }

    public void setIsTrailer(TruckType.IsTrailer isTrailer) {
        this.isTrailer = isTrailer;
    }

    public TruckType.TowingType getTowingType() {
        return towingType;
    }

    public void setTowingType(TruckType.TowingType towingType) {
        this.towingType = towingType;
    }

}
